<template>
    <div>
        <el-dialog :title="title" :visible="dialogFormVisible" :show-close="false" width="60%">
            <el-alert
                    style="margin-bottom: 10px;"
                    :closable="false"
                    type="warning"
                    description="标红表示已结束或正在执行中的流程任务！"
                    show-icon>
            </el-alert>
            <div style="text-align: center;">
                <img alt="暂无图片" :src="imgUrl" style="vertical-align: middle;">
            </div>
            <div slot="footer" class="dialog-footer">
                <el-button type="primary" @click="$emit('cancel');">返&nbsp;&nbsp;回</el-button>
            </div>
        </el-dialog>
    </div>
</template>
<script>
    export default {
        name: "processImg",
        props: {
            dialogFormVisible: Boolean,
            title: String,
            imgUrl: String
        },
        data() {
            return {};
        },
        methods: {}
    }
</script>

<style scoped>

</style>

